package com.study.talk.netty.message.response;


import com.study.common.annotation.Desc;
import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

@Desc("添加好友消息响应")
public class AddUserResponse extends TalkMessage {

    private Integer inviteId;

    private String inviteName;

    private String inviteAvatar;

    @Override
    public byte getType() {
        return MessageType.ADD_USER_RESPONSE;
    }

    public AddUserResponse(Integer inviteId, String inviteName, String inviteAvatar) {
        this.inviteId = inviteId;
        this.inviteName = inviteName;
        this.inviteAvatar = inviteAvatar;
    }

    public AddUserResponse() {
    }

    public Integer getInviteId() {
        return inviteId;
    }

    public void setInviteId(Integer inviteId) {
        this.inviteId = inviteId;
    }

    public String getInviteName() {
        return inviteName;
    }

    public void setInviteName(String inviteName) {
        this.inviteName = inviteName;
    }

    public String getInviteAvatar() {
        return inviteAvatar;
    }

    public void setInviteAvatar(String inviteAvatar) {
        this.inviteAvatar = inviteAvatar;
    }
}
